package com.stormrage.edu.dao.edu;

import java.util.List;
import java.util.Map;

import com.stormrage.entity.edu.EduMajor;
import com.stormrage.entity.edu.rep.EduMajorRep;
import com.stormragetech.core.exception.StormrageTechException;

public interface EduMajorDao {

	public Integer create(EduMajor arg0) throws StormrageTechException;

	public void update(EduMajor arg0) throws StormrageTechException;

	public void delete(Map<String, Object> map) throws StormrageTechException;

	public Integer queryCount(Map<String, Object> map) throws StormrageTechException;

	public EduMajor queryById(Map<String, Object> map) throws StormrageTechException;

	public EduMajor queryByBunchId(Map<String, Object> map) throws StormrageTechException;

	public List<EduMajor> queryList() throws StormrageTechException;

	public List<EduMajor> queryList(Map<String, Object> map) throws StormrageTechException;

	public List<EduMajor> queryListById(Map<String, Object> map) throws StormrageTechException;

	public List<EduMajorRep> queryRepListById(Map<String, Object> map) throws StormrageTechException;

}
